
import request from '@/utils/request'

export function listmanagerAudit(query) {
  return request({
    url: '/system/managerAudit/list',
    method: 'get',
    params: query
  })
}

export function selectList(query) {
  return request({
    url: '/system/managerAudit/listSelect',

    method: 'get',
    params: query
  })
}
export function delmanagerAudit(compFeeIds) {
  return request({
    url: '/system/managerAudit/' + compFeeIds,
    method: 'delete'
  })
}
export function managerAuditAdd(data) {
  return request({
    url: '/system/managerAudit',
    method: 'post',
    data: data
  })
}
export function updategmanagerAudit(data) {
  return request({
    url: '/system/managerAudit',
    method: 'put',
    data: data
  })
}
export function managerAuditInfo(query) {
  return request({
    url: '/system/managerAudit/' + query,
    method: 'get',
  })
}
// 启用禁用供应商
export function effectmanagerAudit(id, effect) {
  console.log('11')
  return request({
    url: '/system/managerAudit/effect/' + id + '/' + effect,
    method: 'put',
  })
}

// 上传签到表 type 1首次 2末次 3总结报告
export function signFile(query) {
  return request({
    url: '/system/managerAudit/signFile',
    method: 'get',
    params: query
  })
}




